Test some virtual modifiers
authorMatthias Clasen <mclasen@redhat.com>
Thu, 8 Dec 2011 13:02:18 +0000 (08:02 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 8 Dec 2011 13:02:18 +0000 (08:02 -0500)
This adds some accelerators involving Super and Hyper to testmerge.
This helps in testing our accel matching for those.

tests/testmerge.c

index d6e1e566388a995e886c732f09358aee592e3758..de6dd95f1fb8f7a13f9a0148916c46d9873c9d9b 100644 (file)
@@ -212,11 +212,11 @@ enum {
 static GtkRadioActionEntry radio_entries[] = {
   { "justify-left", GTK_STOCK_JUSTIFY_LEFT, NULL, "<control>L", 
     "Left justify the text", JUSTIFY_LEFT },
-  { "justify-center", GTK_STOCK_JUSTIFY_CENTER, NULL, "<control>E",
+  { "justify-center", GTK_STOCK_JUSTIFY_CENTER, NULL, "<super>E",
     "Center justify the text", JUSTIFY_CENTER },
-  { "justify-right", GTK_STOCK_JUSTIFY_RIGHT, NULL, "<control>R",
+  { "justify-right", GTK_STOCK_JUSTIFY_RIGHT, NULL, "<hyper>R",
     "Right justify the text", JUSTIFY_RIGHT },
-  { "justify-fill", GTK_STOCK_JUSTIFY_FILL, NULL, "<control>J",
+  { "justify-fill", GTK_STOCK_JUSTIFY_FILL, NULL, "<super><hyper>J",
     "Fill justify the text", JUSTIFY_FILL },
 };
 static guint n_radio_entries = G_N_ELEMENTS (radio_entries);